package com.crm.controller.zy;

import com.crm.pojo.CrmOrder;
import com.crm.utils.R;
import io.swagger.annotations.*;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Create with IntelliJ IDEA.
 * Description:
 * User: ZY
 * Date: 2023-03-10
 * Time: 19:51
 */
@RequestMapping("/orderfile")
@Api(tags = "订单文件接口",value = "订单文件操作")
@Controller
public class OrderFileController {
    @RequestMapping(value ="/findOrderList",method = RequestMethod.GET)
    @ApiOperation(value = "查询所有的订单接口",notes = "按时间获取所有订单",httpMethod = "GET",response = R.class)
    @ApiResponses({
            @ApiResponse(code=200,message="请求成功"),
            @ApiResponse(code=401,message ="用户未授权"),
            @ApiResponse(code=403,message="认证失败"),
            @ApiResponse(code=500,message="后台服务错误")
    })
    public R findOrderList(@RequestBody CrmOrder crmOrder){
        return null;
    }
}
